<template>
    <div class="myInput">
        <input type="text" :value="value" @input="$emit('input',$event.target.value)">
        <slot></slot>
    </div>
</template>
<script>
export default {
    props:['value'],
    data() {
        return {
            
        }
    },
}
</script>
<style lang="scss" scoped>
.myInput{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    input{
        height: 40px;
    }
}
</style>
